﻿namespace ApiGateway.Config
{
    public enum NodeLimitRange
    {
        全局 = 0,
        配置 = 1
    }
    internal class NodeLimitConfig : LimitConfig
    {
        /// <summary>
        /// 限定范围
        /// </summary>
        public NodeLimitRange LimitRange { get; set; }
        /// <summary>
        /// 排除的API路径
        /// </summary>
        public string[] Excludes { get; set; }
        /// <summary>
        /// 限定的API路径
        /// </summary>
        public string[] Limits { get; set; }
    }
}
